import Vue from 'vue'
import Router from 'vue-router'
import Welcome from '@/components/HelloWorld'
import CategoryManager from '@/components/category/CategoryManager'
import AdminAdd from '@/components/admin/AdminAdd'
import AdminList from '@/components/admin/AdminList'
import CompanyList from '@/components/company/CompanyList'
import UserList from '@/components/user/UserList'



Vue.use(Router)

export default new Router({
  routes: [{
    path: '/',
    name: 'Welcome',
    component: Welcome
  }, {
    path: '/category_manager',
    component: CategoryManager
  }
  , {
    path: '/admin_add',
    component: AdminAdd
  }
  , {
    path: '/admin_list',
    component: AdminList
  }
  , {
    path: '/company_list',
    component: CompanyList
  }
  , {
    path: '/user_list',
    component: UserList
  }



]
})
